#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
	char name[32];

	setvbuf(stdin, NULL, _IONBF, 0);
	setvbuf(stdout, NULL, _IONBF, 0);

	printf("Enter your name and press ENTER\n");
	gets(name);
	printf("Hi, %s\n", name);

	return 0;
}